import request from '@/utils/request'

// 查询库存调整日志列表
export function listInventoryAdjustLog(query) {
  return request({
    url: '/system/inventoryAdjustLog/list',
    method: 'get',
    params: query
  })
}

// 查询库存调整日志详细
export function getInventoryAdjustLog(id) {
  return request({
    url: '/system/inventoryAdjustLog/' + id,
    method: 'get'
  })
}

// 新增库存调整日志
export function addInventoryAdjustLog(data) {
  return request({
    url: '/system/inventoryAdjustLog',
    method: 'post',
    data: data
  })
}

// 修改库存调整日志
export function updateInventoryAdjustLog(data) {
  return request({
    url: '/system/inventoryAdjustLog',
    method: 'put',
    data: data
  })
}

// 删除库存调整日志
export function delInventoryAdjustLog(id) {
  return request({
    url: '/system/inventoryAdjustLog/' + id,
    method: 'delete'
  })
}
